package voldemort.store.cachestore;

/**
 * Created by IntelliJ IDEA.
 * User: mhsieh
 * Date: 1/25/11
 * Time: 11:33 AM
 * To change this template use File | Settings | File Templates.
 */
public interface Value <T> {
    // data is in byte array format
    public T getData();
    // set data
    public void setData(T data);
    // version info
    public long getVersion();
    public void setVersion(long version);
    // node info
    public short getNode() ;
    public void setNode(short node);

}
